package cc.ucanuup.web.base.model;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 文件名： com.bozhon.web.base.model.MenuModel.java
 * 作者：   WenBin
 * 日期：   2017年10月13日
 * 功能说明：
 * =========================================================
 * 修改记录：
 * 修改作者    日期      修改内容
 * =========================================================
 *  Copyright (c) 2010-2011 .All rights reserved.
 */
public class MenuModel {

	private String id;
	@NotNull(message="菜单名称不能为null")
	@NotEmpty(message="菜单名称不能为空")
	private String menuName;
	@NotNull(message="菜单描述不能为null")
	@NotEmpty(message="菜单描述不能为空")
	private String menuDesc;
	@NotNull(message="菜单链接不能为null")
	@NotEmpty(message="菜单链接不能为空")
	private String menuLink;
	@NotNull(message="权限码不能为null")
	@NotEmpty(message="权限码不能为空")
	private String menuPermission;
	/*	@NotNull(message="请选择所属系统！")
	@NotEmpty(message="请选择所属系统！")
	private String systemId;*/
	private String menuIcon;
	private String systemType;
	private String fid;
	@NotNull(message="排序不能为null")
	private Integer orderLevel;
	@NotNull(message="菜单等级不能为null")
	private Integer menuLevel;
	/*	@NotNull(message="页面类型不能为null")
	@NotEmpty(message="页面类型不能为空")
	private String pageType;*/

	public String getId() {

		return id;
	}

	public void setId(String id) {

		this.id = id;
	}

	public String getMenuName() {

		return menuName;
	}

	public void setMenuName(String menuName) {

		this.menuName = menuName;
	}

	public String getMenuDesc() {

		return menuDesc;
	}

	public void setMenuDesc(String menuDesc) {

		this.menuDesc = menuDesc;
	}

	public String getMenuLink() {

		return menuLink;
	}

	public void setMenuLink(String menuLink) {

		this.menuLink = menuLink;
	}

	public String getMenuPermission() {

		return menuPermission;
	}

	public void setMenuPermission(String menuPermission) {

		this.menuPermission = menuPermission;
	}

	public String getSystemType() {

		return systemType;
	}

	public void setSystemType(String systemType) {

		this.systemType = systemType;
	}

	public String getFid() {

		return fid;
	}

	public void setFid(String fid) {

		this.fid = fid;
	}

	public Integer getOrderLevel() {

		return orderLevel;
	}

	public void setOrderLevel(Integer orderLevel) {

		this.orderLevel = orderLevel;
	}

	public Integer getMenuLevel() {

		return menuLevel;
	}

	public void setMenuLevel(Integer menuLevel) {

		this.menuLevel = menuLevel;
	}


	public String getMenuIcon() {

		return menuIcon;
	}

	public void setMenuIcon(String menuIcon) {

		this.menuIcon = menuIcon;
	}


	/*	public String getSystemId() {

		return systemId;
	}


	public void setSystemId(String systemId) {

		this.systemId = systemId;
	}*/


	/*	public String getPageType() {

		return pageType;
	}

	public void setPageType(String pageType) {

		this.pageType = pageType;
	}*/
}
